package io.persimmon.core.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = true)
@Data
public class BaseRequest<T> extends EmptyRequest {
    @ApiModelProperty("参数数据")
    @NotNull(message = "参数不能为空")
    private T param;
}
